package xml.adapter;

import dominio.LaberintoObject;
import dominio.factory.LaberintoObjectFactory;

public class LaberintoObjectAdapter {

	public static LaberintoObject adapt(String xmlLaberintoObject) {
		return LaberintoObjectFactory.createObject(xmlLaberintoObject);
	}

	public static String adapt(LaberintoObject laberintoObject) {
		return laberintoObject.toString();
	}
}
